package com.pzb.page.domain;

import com.pzb.goods.domain.GdGoods;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.List;

/**
 * 显示活动对象 pg_page_item_panicbuying
 * 
 * @author Mr_Wu
 * @date 2021-12-22
 */
public class PgPageItemPanicbuying implements Serializable
{
    private static final long serialVersionUID = 1L;

    private String itemTitle;

    /** 展示方式:0为一行一列；1为一行两列；2为列表显示 */
    private Integer displayMode;

    private String previewPath;

    /** banner链接地址 */
    private String linkAddress;

    List<GdGoods> panicbuyGoodsList;

    public String getItemTitle() {
        return itemTitle;
    }

    public void setItemTitle(String itemTitle) {
        this.itemTitle = itemTitle;
    }

    public void setDisplayMode(Integer displayMode)
    {
        this.displayMode = displayMode;
    }

    public Integer getDisplayMode() 
    {
        return displayMode;
    }

    public String getPreviewPath() {
        return previewPath;
    }

    public void setPreviewPath(String previewPath) {
        this.previewPath = previewPath;
    }

    public void setLinkAddress(String linkAddress)
    {
        this.linkAddress = linkAddress;
    }

    public String getLinkAddress() 
    {
        return linkAddress;
    }

    public List<GdGoods> getPanicbuyGoodsList() {
        return panicbuyGoodsList;
    }

    public void setPanicbuyGoodsList(List<GdGoods> panicbuyGoodsList) {
        this.panicbuyGoodsList = panicbuyGoodsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("displayMode", getDisplayMode())
            .append("linkAddress", getLinkAddress())
            .toString();
    }
}
